package com.gitee.zycra.future.job.common.param;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zycra
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class UpdateDependenceParam {

    /**
     * 子调度信息ID
     */
    @NotNull(message = "子调度信息不能为空")
    private Long childScheduleId;

    /**
     * 父调度信息ID集合
     */
    private List<Long> parentScheduleIdList;
}
